import wx

     
if __name__ == "__main__":
    app=wx.PySimpleApp()
    names = ['Addi','Maddi','Gemma']
    modal = wx.SingleChoiceDialog(None, 'Name?', 'Title', names)
    if modal.ShowModal() == wx.ID_OK:
        print("Name %s" % modal.GetStringSelection())
    modal.Destroy()